package libro.cap04;

import java.sql.SQLException;
import java.util.Collection;

public class TestDeptDAO {

	public static void main(String[] args) throws SQLException {

		DeptDAO dept = new DeptDAO();
		Collection<DeptDTO> coll = dept.buscarTodos();

		for (DeptDTO dto : coll) {

			System.out.println(dto);
		}
	}

}
